@SpringBootTest
class CartListServiceImplTest {

    @Autowired
    CartListService cartListService;

    @Test
    void addCartList() {
        CartListRequest cartListRequest = new CartListRequest();
        cartListRequest.setSongId(1);
        cartListRequest.setUserId(76);
        cartListRequest.setPrice(2.0);
        R r = cartListService.addCartList(cartListRequest);
        System.out.println(r.getSuccess()+r.getMessage());
    }

    @Test
    void deleteCartList() {
        R r = cartListService.deleteCartList(76, Arrays.asList(1));
        System.out.println(r.getSuccess()+r.getMessage());
    }

    @Test
    void allCartList() {
        R r = cartListService.allCartList(76);
        List<CartListRespo> data = (List<CartListRespo>) r.getData();
        data.forEach(d -> System.out.println(d.getSongName()));
    }
}
